module API::V2
  class Advertises < Grape::API
    resource :advertises do
      get do
        present Advertise.not_landing, with: API::V2::Entities::Advertise
      end
      
      get :landing do
        present Advertise.landing, with: API::V2::Entities::Advertise
      end
    end
  end
end